package com.vcredit.creditcat.dto.shareInfo;

import java.io.Serializable;

public class ShareContext4VM<T> implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	protected String shareCode;// 分享代码
	protected Integer shareType;// 分享类型
	protected String activityCode;// 活动代码
	protected Long custId;// 客户ID
	protected T data;

	public ShareContext4VM() {
		super();
	}

	public ShareContext4VM(String shareCode, Integer shareType, Long custId,
			String activityCode) {
		super();
		this.shareType = shareType;
		this.custId = custId;
		this.activityCode = activityCode;
		this.shareCode = shareCode;
	}

	public ShareContext4VM(String shareCode, Integer shareType, Long custId,
			String activityCode, T data) {
		super();
		this.shareType = shareType;
		this.custId = custId;
		this.activityCode = activityCode;
		this.shareCode = shareCode;
		this.data = data;
	}

	public Integer getShareType() {
		return shareType;
	}

	public void setShareType(Integer shareType) {
		this.shareType = shareType;
	}

	public Long getCustId() {
		return custId;
	}

	public void setCustId(Long custId) {
		this.custId = custId;
	}

	public String getActivityCode() {
		return activityCode;
	}

	public void setActivityCode(String activityCode) {
		this.activityCode = activityCode;
	}

	public String getShareCode() {
		return shareCode;
	}

	public void setShareCode(String shareCode) {
		this.shareCode = shareCode;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
}
